package demo.ioc.service;

import demo.ioc.my.core.annotation.Autowired;
import demo.ioc.my.core.annotation.Service;
import demo.ioc.repo.HelloRepo;

/**
 * Created by 张少昆 on 2018/3/18.
 */
@Service
public class HelloServiceImpl implements HelloService {
    @Autowired
    private HelloRepo helloRepo;

    @Override
    public String getTime(){
        return helloRepo.getTime();
    }
}
